package com.panda.admin.login.entity;

import javax.validation.constraints.NotNull;

import java.io.Serializable;


import com.baomidou.mybatisplus.annotation.TableName;
import com.panda.admin.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
* 用户角色表
* @TableName system_user_role
*/
@Setter
@Getter
@TableName("system_user_role")
public class SystemUserRole extends BaseEntity implements Serializable {

    /**
    * 主键id
    */
    @NotNull(message="[主键id]不能为空")
    @ApiModelProperty("主键id")
    private Long id;
    /**
    * 用户id
    */
    @ApiModelProperty("用户id")
    private Long userId;
    /**
    * 角色id
    */
    @ApiModelProperty("角色id")
    private Long roleId;
}
